package com.whfc.fmam.entity.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author sun_guodong
 * @description
 * @date 2019-12-18
 */
@Data
public class FmamRecvSendAnaMatTypeDTO implements Serializable {
    /**
     * 材料类别id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long matTypeId;

    /**
     * 材料类别名称
     */
    private String matTypeName;
    /**
     * 运单数量
     */
    private Double deliveryAmount;
    /**
     * 实际数量
     */
    private Double actualAmount;
    /**
     * 运单重量
     */
    private Double deliveryWeight;
    /**
     * 实际重量
     */
    private Double actualWeight;
    /**
     * 重量偏差
     */
    private Double weightDiff;
    /**
     * 数量偏差
     */
    private Double amountDiff;
    /**
     * 重量偏差率
     */
    private Double weightDiffPercent;
    /**
     * 数量偏差率
     */
    private Double amountDiffPercent;
    /**
     * 扣量类型:1-范围,2-比例
     */
    private Integer deductType;
    /**
     * 扣量
     */
    private Double deductAmount;

    /**
     * 确认量
     */
    private Double confirmWeight;

    /**
     * 确认数量
     */
    private Double confirmAmount;

    private List<FmamRecvSendAnaMatTypeDTO> children;

}
